package com.yootk.vo;

import java.util.Date;

public class Emp {
    private String empno ;
    private String ename ;
    private Date hiredate ;
    private Dept dept ;

    public Emp() {
    }

    public Emp(String empno, String ename, Date hiredate, Dept dept) {
        this.empno = empno;
        this.ename = ename;
        this.hiredate = hiredate;
        this.dept = dept;
    }

    public String getEmpno() {
        return empno;
    }

    public void setEmpno(String empno) {
        this.empno = empno;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public Date getHiredate() {
        return hiredate;
    }

    public void setHiredate(Date hiredate) {
        this.hiredate = hiredate;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }
}
